package com.syp.hehe.service;

import com.syp.hehe.domain.vo.ThumbVo;
import com.syp.hehe.util.paging.Page;
import com.syp.hehe.util.paging.PageOffSet;

public interface ThumbServiceI {
	
	public void up(ThumbVo thumb);
	
	public void unup(String username, Long articleId);
	
	public Long countOfups(Long articleId);
	
	public Boolean upByUser(String username, Long articleId);
	
	public ThumbVo getByUUID(String uuid);
	
	public ThumbVo getByUnameAndArtid(String username, Long articleId);
	
	public Page<ThumbVo> getPageList(Long articleId, Long pageNum, Integer pageSize);
	
	public PageOffSet<ThumbVo> getPageOffSetList(Long articleId, Long referId, Integer pageSize);



}
